<%@page import="com.ykfk.cngrain.tbw.SysParameter"%>
<%@page import="com.ykfk.cngrain.tbw.model.TbManager"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
TbManager tbManager = (TbManager)session.getAttribute(SysParameter.sessionObj);
String user = "";
if(tbManager!=null){
	user = tbManager.getFullname();
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>中央政策性粮油竞价销售资金结算系统</title>
<link href="${pageContext.request.contextPath}/res/css/home.css" rel="stylesheet" type="text/css" />
<script src="${pageContext.request.contextPath}/res/js/common/jquery.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/common/trimpath.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/common/common.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/Remain.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/RamainLoad.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/iepngfix_tilebg.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/res/js/common/jquery.contextmenu.r2.js" type="text/javascript"></script>

<style type="text/css">
img,div {
	behavior: url(${pageContext.request.contextPath}/res/css/iepngfix.htc);
}
</style>

<script type="text/javascript">
        $(document).ready(function() {
            $('#right').contextMenu('myMenu1', {
                bindings: {
                    'refresh': function(t) {
                        location.reload();
                    },
                    'custom': function(t) {
                        openPanelWithOutMenu('CustomMenu', '自定义菜单', 'customMenu.aspx');
                    },
                    'save': function(t) {
                        alert('Trigger was ' + t.id + '\nAction was Save');
                    }
                }
            });           
        });
  </script>
</head>
<body style="height: 100%; background-color: #a7d0fc;">
	<form id="form1">
		<div class="contextMenu" id="myMenu1" style="display: none;">
			<ul oncontextmenu="self.event.returnValue=false" onselectstart="return false">
				<li id="refresh"><img src="${pageContext.request.contextPath}/res/images/framework/icons/refresh.png">刷新</li>
				<li id="custom"><img src="${pageContext.request.contextPath}/res/images/framework/icons/setuseridicon.png">自定义菜单</li>
			</ul>
		</div>
		<div id="myMenu2"></div>
		<div id="right" style="width: 100%;">
			<table style="width: 100%;">
				<tr>
					<td valign="top" align="center" class="tdright" id="tdtop">
						<div class="rightpic" id="customMenu"></div>
					</td>
					<td valign="top" style="width: 278px;">
						<div style="width: 278px;">
							<div class="fr rightinfo">
								<div class="list">
									<div class="liktop">
										<span><a href="javascript:void(0);" onclick="initRight();"> <img src="${pageContext.request.contextPath}/res/images/framework/icons/refresh.png" /></a></span>
									</div>
									<div id="likbg">
										<ul style="display: none;">
											<li>有<span style="color: #f00; font-size: 14px;"> 5 </span>条尚未处理的付款申请<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 10 </span>条尚未归集的上划明细<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 3 </span>条尚未处理的违约信息<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 16 </span>条合同即将到期但并未交割完成<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">28 </span>条合同已经到期未交割<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">17 </span>条合同直属库粮食出库<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">22 </span>条合同直属库粮食实际<span><a href="#">详情</a></span></li>
										</ul>
									</div>
									<div>
										<img src="${pageContext.request.contextPath}/res/images/framework/images/likbot.jpg" width="262" height="10" />
									</div>
								</div>
								<div class="list">
									<div class="liktop1">
										<span><a href="javascript:void(0);" onclick="initRight();"> <img src="${pageContext.request.contextPath}/res/images/framework/icons/refresh.png" /></a></span>
									</div>
									<div id="likbg">
										<ul style="display: none;">
											<li>有<span style="color: #f00; font-size: 14px;"> 5 </span>条尚未处理的付款申请<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 10 </span>条尚未归集的上划明细<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 3 </span>条尚未处理的违约信息<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;"> 16 </span>条合同即将到期但并未交割完成<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">28 </span>条合同已经到期未交割<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">17 </span>条合同直属库粮食出库<span><a href="#">详情</a></span></li>
											<li>有<span style="color: #f00; font-size: 14px;">22 </span>条合同直属库粮食实际<span><a href="#">详情</a></span></li>
										</ul>
									</div>
									<div>
										<img src="${pageContext.request.contextPath}/res/images/framework/images/likbot.jpg" width="262" height="10" />
									</div>
								</div>
								<div class="fg">
									<div>
										<img src="${pageContext.request.contextPath}/res/images/framework/images/fgtop.jpg" width="262" height="45" />
									</div>
									<div id="fgbg">
										<ul>
											<li>系统相关<a href="javascript:void(0);" onclick="window.open('help/index.htm', '', 'height=700px,width=984px');">查看详情</a></li>
											<li>交易细则<a href="javascript:void(0);" onclick="window.open('homepage/rslist.html', '', 'height=700px,width=996px');">查看详情</a></li>
											<li>执行预案<a href="javascript:void(0);" onclick="window.open('homepage/zclist.html', '', 'height=700px,width=996px');">查看详情</a></li>
										</ul>
									</div>
									<div>
										<img src="${pageContext.request.contextPath}/res/images/framework/images/fgbot.jpg" width="262" height="10" />
									</div>
								</div>
							</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>
</body>
</html>
